package vip.mtdp.base.api.app.version;

import vip.mtdp.base.api.app.version.dto.AppVersionRequest;
import vip.mtdp.base.api.app.version.dto.AppVersionResponse;
import vip.mtdp.common.exception.AppRTException;

/**
 * @description TODO
 * @date 2020/4/5 17:42
 * @auth wangguoqing
 **/
public interface AppVersionRpcService {

    boolean canRequest(AppVersionRequest request) throws AppRTException;

    AppVersionResponse queryLastForcedUpdateVersion(AppVersionRequest request) throws AppRTException;

    AppVersionResponse queryLastVersion(AppVersionRequest request) throws AppRTException;


}
